﻿using Crawler.Model.SystemDefault;
using Microsoft.EntityFrameworkCore;
using Model.DefaultApp;
using System;
using System.Collections.Generic;
using System.Text;

namespace Crawler.Core
{
    public class DefaultDbContext:DbContext
    {

        public DbSet<CollectInfoConfigModel> CollectInfoConfigs { get; set; }
        public DbSet<CollectorUrlModel> CollectorUrls { get; set; }
        public DbSet<PageInfoModel> PageInfos { get; set; }
        public DbSet<ProxyIPModel> ProxyIPs { get; set; }
        public DbSet<TerminalConfigModel> TerminalConfigs { get; set; }

        public DefaultDbContext() :base()
        {

        }

        public DefaultDbContext(DbContextOptions options) : base(options)
        {

        }
    }
}
